import Vue from 'vue';
import VueRouter from 'vue-router';
import Frame from './frame';
import Add from './add';
import Get from './get';

Vue.use(VueRouter);

const routes = [{
  path : '/add',
  component: Add,
},{
  path : '/get',
  component: Get,
}];

new Vue({
  el: '#main',
  router: new VueRouter({ routes }),
  render: f => f(Frame),
});
